/**
 * \file can_common.h
 * \brief CAN bus driver (common definitions)
 * \author Radim Badsi <radim.badsi@polytech.univ-montp2.fr>
 * \date 10/07/2009
 */
#ifndef CAN_COMMON_H
#define CAN_COMMON_H

/**
  * CAN message structure
  * Used for both incoming and outgoing messages
  */
typedef struct
{
	unsigned long address; /*!< Identifier (11 bits) */
	INT8U* data; /*!< Data array */ 
	INT8U length; /*!< Data size (0-8 bytes) */
} can_param_t;

#endif